    <%
    require '/var/www/html/aboutyou-ruby-sdk/AboutYou-SDK/lib/aboutyou-sdk.rb'

        ay = AY.new(100, '3ed93394c2b5ebd12c104b177b928ad0')

        criteria = ay.product_search_criteria.filter_by_category_ids([74418]).select_facets_by_group_id(
            0,
            AboutYou::SDK::Criteria::ProductSearchCriteria::FACETS_UNLIMITED
        )

        productSearchResult = ay.fetch_product_search(criteria)
        facets = productSearchResult.facets
        facets.each do |gId, facetCounts|
          facetCounts.facet_count_list.each do|facetCount|
    %>
          <%= facetCount.facet.name + ' (' + String(facetCount.count) + ')' %>
    <%
          end
        end
    %>